#!/bin/bash
count="$1"
count="${count:-50}"
string=""
for ((i=0; i < $count; i++)); do
    string="${string}-"
done
echo "$string"